package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Author: 廖振辉
 * Date: 2021/11/26
 * Description: 评论回复列表dto
 */
@Data
@ApiModel("评论回复列表dto")
public class ListCommentReplyDTO extends  PageDTO{
    @ApiModelProperty("评论id")
    @NotNull(message = "评论id不能为空")
    @Min(message = "评论id值非法",value = 1)
    private Integer commentId;
}
